package org.nmgyjt.springboot.entity.materials;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("materials")
public class Materials {
  @TableId(type = IdType.ASSIGN_UUID)
  private String id;
  private String storeId;
  private String firstStoreType;
  private String secondStoreType;
  private String storeName;
  private String storeSpecs;
  private int storeNum;
  private String unit;
  private String state;
  private String secondStoreTypeCode;
  @TableField(fill = FieldFill.INSERT)
  private Date createTime;

  @TableField(fill = FieldFill.INSERT_UPDATE)
  private Date updateTime;

  public Materials() {
  }
}
